package com.digital.smartgrow.entity.businesscenter;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 动态表单模板
 * </p>
 *
 * @author xiewb
 * @since 2022-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dynamic_form_template")
@ApiModel(value="DynamicFormTemplate对象", description="动态表单模板")
public class DynamicFormTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "表单名称")
    @TableField("formName")
    private String formName;

    @ApiModelProperty(value = "表单内容")
    @TableField("formContent")
    private String formContent;

    @ApiModelProperty(value = "表单说明")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "状态，0：禁用，1：启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "0：未删除，1：已删除")
    @TableLogic
    @TableField("deleted")
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    @TableField("createId")
    private Integer createId;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;


}
